home *** CD-ROM | disk | FTP | other *** search
-
-
- CURSOR BYTER
- by
- Ian Adam
-
-
- COMMODORE POWER/PLAY MAGAZINE
- August/September, 1986
-
-
- Formatting your program screens
-
- can often require repositioning the
-
- cursor to different areas of the
-
- screen several times. Unfortunately,
-
- positioning the cursor is sometimes a
-
- not-so-simple task when you're dealing
-
- with Commodore BASIC.
-
-
- CURSOR BYTER gives you a routine
-
- providing a useful command that
-
- governs cursor positions. With the
-
- routine installed in your own program,
-
- you can move the cursor to any
-
- location, regardless of its present
-
- location or any other material on the
-
- screen. The command works like a
-
- normal BASIC command and merely
-
- involves a SYS CRSR, row#, and
-
- column#.
-
-
- (CURSOR BYTER works by poking a very
-
- small machine language routine into
-
- the REM statement in the first line of
-
- the program. The demo that appears
-
- when you run CURSOR BYTER demonstrates
-
- the effects possible with this
-
- program.)
-
-
- Important Notes:
-
-
- -- The row and column may be expressed
-
- as numbers, variables, or any suitable
-
- expression.
-
-
- -- The top row and left column are
-
- numbered at zero.
-
-
- -- The bottom row and last column are
-
- 24 and 39-- larger values should not
-
- be specified.
-
-
- -- A row value must be given or you
-
- will get an error.
-
-
- -- The column value may be deleted if
-
- it is zero.
-
-
- DISK FILES USED:
-
- CURSOR DEMO CURSOR-1
-
- -----------< end of text >------------
-